% UIUC Thesis Template
% Any formatting questions, consult the graduate college:
%  http://www.grad.illinois.edu/graduate-college-thesis-requirements

\documentclass[10pt,letterpaper,oneside]{report}

% several of these imported packages are not needed
\usepackage{hyperref}
\usepackage{geometry}
\usepackage{color}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{multirow}
\usepackage{wrapfig}
\usepackage{tocloft}
\usepackage{sectsty}
\usepackage{titlesec}

% Document Settings
\geometry{
  body={6.5in, 9.0in},
  left=1.0in,
  top=1.0in
}

\hypersetup{
  colorlinks = true,
  urlcolor = black,
  linkcolor = black,
  pdfpagemode = UseNone
}

\setlength{\tabcolsep}{2pt}
\sectionfont{\rmfamily\mdseries\Large}
\subsectionfont{\rmfamily\mdseries\itshape\large}
\titleformat{\chapter}[display]
  {\normalfont\huge\bfseries\centering}{\chaptertitlename\ \thechapter}{20pt}{\Huge}

\begin{document}

%%%%%%%%%%%%%%
% Title Page %
%%%%%%%%%%%%%%

\pagestyle{empty}
\begin{center}
\vspace*{0.75 in}
\uppercase{Thesis\\Template} \hfill\\       % set title (assumes 2 lines)
\vspace*{1.22 in}                           % if 1 line title, change to 1.38
BY \hfill\\
\hfill\\
\uppercase{Author Name}\hfill\\
\vspace*{1.458 in}
THESIS\hfill\\                              % or DISSERTATION
\hfill\\
Submitted in partial fulfillment of the requirements \hfill\\
for the degree of Master of Science in Civil and Environmental Engineering \hfill\\
in the Graduate College of the \hfill\\
University of Illinois at Urbana-Champaign, 20XX\hfill\\
\vspace*{1.0278 in}
Urbana, Illinois \hfill\\
\vspace*{0.236 in}
\end{center}
Adviser:\hfill\\
\hfill\\
\hspace*{0.375 in}Professor FirstName LastName

\newpage

% abstract page
\pagestyle{plain}
\pagenumbering{roman}
\setcounter{page}{2}
\hfill\\
\begin{center}
ABSTRACT
\end{center}
\hfill\\
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. (place holder text for your abstract!)
\newpage

% table of contents
\pagenumbering{arabic}
\thispagestyle{empty}
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{1}
\tableofcontents
\newpage

\chapter{Introduction}
\section{First Section of the Introduction}
\subsection{A Subsection of the First Section}

Beware of the underpants gnomes and their devious plot for profit (see Figure \ref{gnomes plan})!

\begin{figure}[h]
\begin{center}
\includegraphics{Gnomes_plan.png}
\end{center}
\caption{South Park is Hilarious}
\label{gnomes plan}
\end{figure}

\chapter{Method}
\section{My Method is Madness}
\subsection{Pure Madness!}
See Table \ref{sampletable} for a sample table.

\begin{table}[h]
\begin{center}
\begin{tabular}{|c|c|c|c|c|}\hline
Column 1 & Column 2 & Column 3 \\\hline
Row 1    & 57.00    & 32.35    \\\hline
Row 2    & 125.92   & 27.94    \\\hline
Row 3    & 57.86    & 42.64    \\\hline
\end{tabular}
\caption{Sample Table}
\label{sampletable}
\end{center}
\end{table}

\chapter{Conclusion}

Conclusion goes here.\cite{Doe, Doe2}

% bibliography
\clearpage
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{plain}
\bibliography{biblio}

\end{document}
